﻿package Message.Public
{
    import Framework.Serialize.*;

    public class SArenaBasePlayer extends Object
    {
        public var entityId:SEntityId;
        public var isCap:Boolean;
        public var name:String;
        public var combat:int;
        public var level:int;
        public var career:int;
        public var vip:int;

        public function SArenaBasePlayer()
        {
            return;
        }// end function

        public function __write(param1:SerializeStream) : void
        {
            this.entityId.__write(param1);
            param1.writeBool(this.isCap);
            param1.writeString(this.name);
            param1.writeInt(this.combat);
            param1.writeInt(this.level);
            param1.writeInt(this.career);
            param1.writeInt(this.vip);
            return;
        }// end function

        public function __read(param1:SerializeStream) : void
        {
            this.entityId = new SEntityId();
            this.entityId.__read(param1);
            this.isCap = param1.readBool();
            this.name = param1.readString();
            this.combat = param1.readInt();
            this.level = param1.readInt();
            this.career = param1.readInt();
            this.vip = param1.readInt();
            return;
        }// end function

    }
}
